﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys.Common.Entity;

/// <summary>
/// 打印配置实体.
/// </summary>
[SugarTable("com_base_print_config", "打印配置")]
[Tenant(ClaimConst.TENANTID)]
public class ComBasePrintConfigEntity : CLDEntityBase
{
    /// <summary>
    /// 打印编号.
    /// </summary>
    [SugarColumn(ColumnName = "F_Code", ColumnDescription = "打印编号")]
    public string Code { get; set; }

    /// <summary>
    /// 打印配置名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_Name", ColumnDescription = "打印配置名称")]
    public string Name { get; set; }

    /// <summary>
    /// 打印模板Id.
    /// </summary>
    [SugarColumn(ColumnName = "F_PrintTemplateId", ColumnDescription = "打印模板Id")]
    public string PrintTemplateId { get; set; }

    /// <summary>
    /// 是否匹配客户(0:否/1:是).
    /// </summary>
    [SugarColumn(ColumnName = "F_IsCustomer", ColumnDescription = "是否匹配客户(0:否/1:是)")]
    public int? IsCustomer { get; set; }

    /// <summary>
    /// 数据源Id.
    /// </summary>
    [SugarColumn(ColumnName = "F_DataSourceId", ColumnDescription = "数据源Id")]
    public string DataSourceId { get; set; }

    /// <summary>
    /// 标签规则变量模板.
    /// </summary>
    [SugarColumn(ColumnName = "F_LabelRulerTemplate", ColumnDescription = "标签规则变量模板")]
    public string LabelRulerTemplate { get; set; }
}